﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Might.ServiceServer.AuthenticationService {
    
    /// <summary>
    /// Class used as list of Authentication in serialization of user database
    /// </summary>
    public class UserDatabase {

        /// <summary>
        /// Database of users stored on server.
        /// </summary>
        List<Authentication> users;

        /// <summary>
        /// Public parameterless constructor for serialization
        /// </summary>
        public UserDatabase() {
            users = new List<Authentication>();
        }

        /// <summary>
        /// Collection of users stored on server
        /// </summary>
        public List<Authentication> Users {
            get { return users; }
            set { users = value; }
        }

    }
}
